package com.movitech.mobile.cz.base.purchase.mapper;

import com.movitech.mobile.cz.base.purchase.entity.PStrategicPurchaseRequired;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtPStrategicPurchaseRequired;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 战略采购需求 Mapper 接口
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
@Component
@Mapper
public interface PStrategicPurchaseRequiredMapper extends BaseMapper<PStrategicPurchaseRequired> {

    Integer findStrategicPurchaseRequiredListCount(Map<String, Object> map);

    List<PStrategicPurchaseRequired> findStrategicPurchaseRequiredList(Map<String, Object> map);

    ExtPStrategicPurchaseRequired getById(@Param("id") String id);
}
